package com.example.myapplication.base;

/**
 * Http response 通用封装体
 * Created by CL on 2017/5/9.
 */
public class BaseModel<T> {

    private int status;
    private String message;
    private T data;
    private String errorMsg;

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String mErrorMsg) {
        errorMsg = mErrorMsg;
    }

    public int getStatus() {
        return status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

}
